package app.objectstoragedemo.service.impl;

import app.objectstoragedemo.Pojo.Mapper.FileStorage;
import app.objectstoragedemo.Pojo.Vo.FileLimitVo;
import app.objectstoragedemo.Pojo.Vo.UploadFileVo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

public interface FileServiceInterface extends IService<FileStorage> {
    // 查询文件所以数据并打印
    FileLimitVo InquireFile(int Current, int limit);

    // 添加文件上传的数据
    UploadFileVo uploadFile(MultipartFile file);

    // uuid, 查询文件上传的数据
    FileStorage selectByUuid(String uuid);

    // 删除文件上传的数据
    int deleteFile(String uuid);
}
